package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallKdCompanyDao;
import com.appkubes.mall.core.entity.MallKdCompany;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallKdCompanyService extends AbstractBaseService<BaseMallKdCompanyDao, MallKdCompany> {

    MallKdCompany getOneByEntity(MallKdCompany entity);

    List<MallKdCompany> selectListByEntity(MallKdCompany entity);

    IPage<MallKdCompany> selectPageByEntity(IPage<MallKdCompany> page);
    IPage<MallKdCompany> selectPageByEntity(PageVO pageVO);

    IPage<MallKdCompany> selectPageByEntity(MallKdCompany entity, IPage<MallKdCompany> page);
    IPage<MallKdCompany> selectPageByEntity(MallKdCompany entity, PageVO pageVO);

    IPage<MallKdCompany> selectPageByEntity(MallKdCompany entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallKdCompany entity);
}
